﻿using System;
using System.ComponentModel.DataAnnotations;
namespace Manager.Model.Admin
{
    /// <summary>
    /// M_Opus:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class M_Opus
    {
        public M_Opus()
        { }
        #region Model
        private int _opusid;
        private string _opusname;
        private string _opusimage;
        private string _opusdesc;
        private int? _opusstylistid;
        private bool _isvalid = true;
        private bool _istop;
        private DateTime? _opusstylistdate = DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="编号")]
        public int OpusID
        {
            set { _opusid = value; }
            get { return _opusid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "作品名称")]
        public string OpusName
        {
            set { _opusname = value; }
            get { return _opusname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="作品图片")]
        public string OpusImage
        {
            set { _opusimage = value; }
            get { return _opusimage; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "作品描述")]
        public string OpusDesc
        {
            set { _opusdesc = value; }
            get { return _opusdesc; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "所属设计师")]
        public int? OpusStylistID
        {
            set { _opusstylistid = value; }
            get { return _opusstylistid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "是否有效")]
        public bool IsValid
        {
            set { _isvalid = value; }
            get { return _isvalid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "首页显示")]
        public bool IsTop
        {
            set { _istop = value; }
            get { return _istop; }
        }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "发布时间")]
        public DateTime? OpusStylistDate
        {
            set { _opusstylistdate = value; }
            get { return _opusstylistdate; }
        }
        #endregion Model

    }
}

